package com.xtc.netty.io.bio.servlet;

import com.xtc.netty.io.bio.http.MyRequest;
import com.xtc.netty.io.bio.http.MyResponse;
import com.xtc.netty.io.bio.http.MyServlet;

public class FirstServlet implements MyServlet {
    @Override
    public void doPost(MyRequest request, MyResponse response) throws Exception {
        response.write("This is first Servlet");
    }

    @Override
    public void doGet(MyRequest request, MyResponse response) throws Exception {
        this.doPost(request, response);
    }
}
